// const env = '_test'; //测试
//  const env = '_pre';  //预发
const env = ''; //线上

const ApiRootUrl = 'https://langyayanxuan.com/api/';
// const ApiRootUrl = 'https://diudiu.51vip.biz/api/';
// const ApiRootUrlNew = 'https://langyayanxuan.com/api' + env + '/'; 
// const ApiRootUrlNew = 'https://langyayanxuan.com/api_test/';
// const ApiRootUrlNew = 'http://localhost:9081/zm/';
// const ApiRootUrlNew = 'http://192.168.3.91:9081/zm/';
// const ApiRootUrlNew = 'https://3aq3928398.qicp.vip/api/';
// const ApiRootUrlNew = 'https://diudiu.51vip.biz/api/';
const ApiRootUrlNew = 'https://langyayanxuan.com/zm/';

module.exports = { 
  IndexUrl: ApiRootUrlNew + 'index/index',
  //首页数据接口
  CatalogList: ApiRootUrlNew + 'category/index',
  //分类目录全部分类数据接口
  CatalogCurrent: ApiRootUrlNew + 'category/current',
  //微信登录
  AuthLoginByWeixin: ApiRootUrlNew + 'user/loginByWeixin',
  //普通登录接口
  AuthLogin: ApiRootUrlNew + 'user/login',
  ShoppingIndex: ApiRootUrlNew + 'shopping/index',
  //
  GoodsCount: ApiRootUrl + 'goods/count',
  //统计商品总数
  GoodsList: ApiRootUrl + 'goods/list',
  //获得商品列表
  GoodsCategory: ApiRootUrl + 'goods/category',
  //获得分类数据
  GoodsDetail: ApiRootUrlNew + 'goods/detail',
  //获得商品的详情
  GoodsNew: ApiRootUrl + 'goods/new',
  //新品
  GoodsHot: ApiRootUrl + 'goods/hot',
  //热门
  GoodsRelated: ApiRootUrl + 'goods/related',
  //商品详情页的关联商品（大家都在看）
  BrandList: ApiRootUrlNew + 'brand/list',
  //品牌列表
  BrandDetail: ApiRootUrlNew + 'brand/detail',
  //品牌详情
  CartList: ApiRootUrlNew + 'cart/list',
  //获取购物车的数据
  CartAdd: ApiRootUrlNew + 'cart/add',
  // 添加商品到购物车
  CartUpdate: ApiRootUrlNew + 'cart/update',
  // 更新购物车的商品
  CartDelete: ApiRootUrlNew + 'cart/delete',
  // 删除购物车的商品
  CartChecked: ApiRootUrlNew + 'cart/checked',
  // 选择或取消选择商品
  CartGoodsCount: ApiRootUrlNew + 'cart/goodscount',
  // 获取购物车商品件数
  CartCheckout: ApiRootUrlNew + 'cart/checkout',
  // 下单前信息确认
  OrderSubmit: ApiRootUrlNew + 'order/submit',
  // 提交订单
  PayPrepayId: ApiRootUrlNew + 'pay/prepay',
  //获取微信统一下单prepay_id
  CollectList: ApiRootUrlNew + 'collect/list',
  //收藏列表
  CollectAddOrDelete: ApiRootUrlNew + 'collect/addordelete',
  //添加或取消收藏
  CollectReCollect: ApiRootUrlNew + 'collect/reCollect',
  IsCollected: ApiRootUrlNew + 'collect/isCollected',
  // CommentList: ApiRootUrl + 'comment/list',  //评论列表
  // CommentCount: ApiRootUrl + 'comment/count',  //评论总数
  // CommentPost: ApiRootUrl + 'comment/post',   //发表评论
  // TopicList: ApiRootUrl + 'topic/list',  //专题列表
  // TopicDetail: ApiRootUrl + 'topic/detail',  //专题详情
  // TopicRelated: ApiRootUrl + 'topic/related',  //相关专题
  SearchIndex: ApiRootUrlNew + 'search/index',
  //搜索页面数据
  // SearchResult: ApiRootUrl + 'search/result',  //搜索数据
  SearchHelper: ApiRootUrlNew + 'search/helper',
  //搜索帮助
  SearchClearHistory: ApiRootUrl + 'search/clearhistory',
  //搜索帮助
  AddressList: ApiRootUrlNew + 'address/list',
  //收货地址列表
  AddressDetail: ApiRootUrlNew + 'address/queryById',
  //收货地址详情
  AddressSave: ApiRootUrlNew + 'address/addOrUpdate',
  //保存收货地址
  AddressDelete: ApiRootUrlNew + 'address/delete',
  //保存收货地址
  AddressDefault: ApiRootUrlNew + 'address/default',
  //保存收货地址
  // RegionList: ApiRootUrl + 'region/list',  //获取区域列表
  OrderList: ApiRootUrlNew + 'order/list',
  //订单列表
  OrderDetail: ApiRootUrlNew + 'order/detail',
  //订单详情
  OrderCancel: ApiRootUrlNew + 'order/cancel',
  //取消订单
  OrderAddressUpdate: ApiRootUrlNew + 'order/addressUpdate',
  //订单列表
  OrderConfirm: ApiRootUrlNew + 'order/confirm',
  //取消订单
  // OrderExpress: ApiRootUrl + 'order/express', //物流详情
  FootprintList: ApiRootUrlNew + 'footprint/list',
  //足迹列表
  FootprintDelete: ApiRootUrlNew + 'footprint/delete',
  //删除足迹
  CouponList: ApiRootUrlNew + 'coupon/list',
  //优惠券列表
  ExchangeCoupon: ApiRootUrlNew + 'coupon/exchange',
  //优惠券兑换
  Feedback: ApiRootUrlNew + 'user/feedback',
  //问题反馈
  Upload: ApiRootUrlNew + 'upload/upload',
  //图片上传
  MyInfo: ApiRootUrlNew + 'user/info',
  //我的信息
  WxWxcode: ApiRootUrlNew + 'wx/wxcode', //小程序二维码
  //琅琊测评
  SubjectList: ApiRootUrlNew + 'subject/list',
  //琅琊测评具体内容
  SubjectQueryById: ApiRootUrlNew + 'subject/queryById',
  
  
  
  //首页赛事列表
  HomeGameList: ApiRootUrlNew + 'game/home',
  //赛事列表
  GameList: ApiRootUrlNew + 'game/list',
  //排行榜
  RankingList: ApiRootUrlNew + 'ranking/list',
  //赛事详情
  GameDetail: ApiRootUrlNew + 'game/detail',
  //发布赛事
  GameAdd: ApiRootUrlNew + 'game/add',
  //赛事修改
  GameEdit: ApiRootUrlNew + 'game/edit',
  //取消赛事
  GameCancel: ApiRootUrlNew + 'game/cancel',
  //延迟赛事
  GameDelay: ApiRootUrlNew + 'game/delay',
  //赛事报名
  GameJoin: ApiRootUrlNew + 'game/join',
  //赛事取消报名
  GameUnJoin: ApiRootUrlNew + 'game/unJoin',
  //我的参与赛事
  MyJoinGame: ApiRootUrlNew + 'game/myJoin',
  //我发布的赛事
  MyPublishGame: ApiRootUrlNew + 'game/myPublish',
  //选手成绩录入
  PlayerScoreEdit: ApiRootUrlNew + 'game/editPlayerScore',
  //赛事结算
  GameFinish: ApiRootUrlNew + 'game/finish',
  //获取选手信息
  PlayerGet: ApiRootUrlNew + 'player/getByUserId',
  //修改选手信息
  PlayerEdit: ApiRootUrlNew + 'player/edit',
};
